//
//  HYOUSingleton.h
//  BestGift
//
//  Created by 温晓宇 on 16/1/13.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "HYOUOneCellModel.h"
#import "HYOUHotModel.h"

@interface HYOUSingleton : NSObject

+(instancetype)shareDataSingleton;

- (void)openDB;

#pragma mark - 审核 缓存
- (void)createHomeCellTable;
- (void)insertHomeCellIntoTable:(HYOUOneCellModel *)list;// 查询某个条件的movie
- (NSMutableArray *)selectHomeCell:(HYOUOneCellModel *)list;
// 查询所有
- (NSMutableArray *)selectHomeCell;
// 删除
- (void)deleteHomeCellTable:(NSString *)name;
- (void)dropHomeCellTable;

@end
